package com.qf.purchasing.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("采购计划信息")
public class ScheduleQO {
    public static final String COL_ID = "id";
    public static final String COL_TITLE = "title";
    public static final String COL_YEAR = "year";
    public static final String COL_LINK_ID = "link_id";
    public static final String COL_TRANSACTOR = "transactor";
    public static final String COL_TIME = "time";
    /**
     * 计划id
     */
    @ApiModelProperty("计划id")
    private Integer id;
    /**
     * 计划标题
     */
    @ApiModelProperty("计划标题")
    private String title;
    /**
     * 采购年度
     */
    @ApiModelProperty("采购年度")
    private Integer year;
    /**
     * 环节id
     */
    @ApiModelProperty("环节id")
    private Integer linkId;
    /**
     * 办理人（关联员工表id）
     */
    @ApiModelProperty("办理人id")
    private Integer transactorId;
    /**
     * 最新操作时间
     */
    @ApiModelProperty("最新操作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;

}